package com.netease.rtcdemo;

import com.netease.lava.nertc.sdk.stats.NERtcAudioRecvStats;
import com.netease.lava.nertc.sdk.stats.NERtcAudioSendStats;
import com.netease.lava.nertc.sdk.stats.NERtcVideoRecvStats;
import com.netease.lava.nertc.sdk.stats.NERtcVideoSendStats;

public interface callbackDelegate {

    void onJoinChannel(int result, long channelId, long elapsed, long uid);
    void onDisconnect(int reason);
    void onUserJoined(long uid);
    void onUserLeave(long uid, int reason);
    void onUserVideoStart(long uid, int maxProfile);
    void onUserVideoStop(long uid);
    void onUserSubStreamVideoStart(long uid, int maxProfile);
    void onUserSubStreamVideoStop(long uid);

    void onLocalVideoStats(NERtcVideoSendStats stats);
    void onRemoteVideoStats(NERtcVideoRecvStats[] statsArray);
    void onLocalAudioStats(NERtcAudioSendStats stats);
    void onRemoteAudioStats(NERtcAudioRecvStats[] statsArray);


}
